sudo: false
language: rust
rust:
- nightly
- beta
- stable
matrix:
  allow_failures:
  - rust: nightly
before_script:
- |
  pip install 'travis-cargo<0.2' --user &&
  export PATH=$HOME/.local/bin:$PATH
script:
- |
  travis-cargo build &&
  travis-cargo test &&
  travis-cargo bench &&
  travis-cargo --only stable doc
addons:
  apt:
    packages:
    - libcurl4-openssl-dev
    - libelf-dev
    - libdw-dev
after_success:
- travis-cargo --only stable doc-upload
- travis-cargo coveralls --no-sudo
notifications:
  email:
    on_success: never
env:
  global:
  - TRAVIS_CARGO_NIGHTLY_FEATURE=dev
  - secure: 
  - secure: D8LUsAdoP/FK0+GNWvDWO3i1YZYu5wywbRCROXfOu/gZdjDW3KQR4XHFsR7BslL+H0svBf5eaO5r9UYU3vh/dgT6ff+2HA2HDZkw34z+FQ7PFVsZPD30tdT3hU7X84wtwn+OLo+DIUVenFbYa9ZysNaIWOJ6VwonPycHeXG2KQMHZ3kF485AAMlsWUOwEsH2ttZFN3EykDGASi9x5obL+NAc9Go2jrrTgtHbxDUCaHJeo4irl0yILojrxeVwJvs9RFHiu0oLLxL+vo4A8A+2+QaaAkN9gvKFX41QqtfMlZryYdJ9rYXl9UoaLT439+4JcBtcGluIykQTtcrP0catYQauwMgcHvs7HyLWMQBbFtbXE+AHn7Kqk5q3tSVO70K70GtVW2zgbDKlvsnYPGzwBnI0coOeDy4Sa1pAcqbYyGc1KgM1R+CJhm0BFS+OpN6IThEf5e8FwRH8auDTVb3vTT8mT+L2GgwoFlQl2Ix0jLLlkaWKMTcAoqIB0XUOdzgody7Eb/gFKWW4cZo3URMOLo7E/FCfHrDe2vp5sgUfgDovWvopznj5uEKUdEzL9Ep0w0019rhatjgk9GcHUzQ2CLniwLLnZWapFBPDayuf0aPW7gL/7YWzdkFtdKHI7l4bB0zZXJxg0hLU3Ece8NNkTL0oI12woExSwc3XywoVIKU=
